package com.bdmc.report.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdmc.common.annotation.DataColumn;
import com.bdmc.common.annotation.DataPermission;
import com.bdmc.common.core.mybatisplus.core.BaseMapperPlus;
import com.bdmc.report.domain.ReportCarAcc;
import com.bdmc.report.domain.bo.ReportCarAccBo;
import com.bdmc.report.domain.vo.ReportCarAccVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 车辆点火熄火Mapper接口
 *
 * @author bdmc
 * @date 2022-08-08
 */
public interface ReportCarAccMapper extends BaseMapperPlus<ReportCarAcc> {

    @DataPermission({@DataColumn(value = "d.dept_id")})
    Page<ReportCarAccVo> mySelectPage(@Param("page") Page<ReportCarAcc> page, @Param("param") ReportCarAccBo bo);

    @DataPermission({@DataColumn(value = "d.dept_id")})
    List<ReportCarAccVo> mySelectPage(@Param("param") ReportCarAccBo bo);

}
